//
//  JCClubFindVC.h
//  SquashSpark
//
//  Created by 郭吉成 on 2017/11/18.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import "YFBaseViewController.h"
@class JCClubFindVC;
@class JCClubModel;

@protocol JCClubFindVCDelegate <NSObject>

- (void)didTapSearchAction:(JCClubFindVC *)viewController popKeyBoard:(BOOL)popKeyBoard;
- (void)refreashSearchAction:(JCClubFindVC *)viewController result:(void(^)(BOOL success))result;

@end

@interface JCClubFindVC : YFBaseViewController

@property (nonatomic, copy) NSString *searchInputText;
@property (nonatomic, weak) id <JCClubFindVCDelegate> delegate;
- (void)showView;
- (void)enterSeachPopKeyBoard:(BOOL)isPop;
- (void)quitSearch;
- (void)setSearchResult:(NSArray <JCClubModel *>*) searchResults;

@end
